package com.example.demo.controller;


import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


import com.example.demo.entity.Food;
import com.example.demo.entity.FoodType;
import com.example.demo.service.Food_Service;

@RequestMapping("Food")
@RestController
public class Food_Controller extends Basic_Controller<Food>{
	@Autowired
	Food_Service service;
	
	@RequestMapping("test")
	@ResponseBody
	public Food test(Food u) {
		return u;
	}
	
	
	
}
